package com.plian.system.entity.yth.meet;

import com.baomidou.mybatisplus.annotation.TableName;
import com.plian.system.entity.yth.YthBaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 三重一大议题
 * </p>
 *
 * @author ws.liu
 * @since 2022-12-09
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("conference_topic")
@ApiModel(value = "ConferenceTopic对象", description = "三重一大议题")
@NoArgsConstructor
@AllArgsConstructor
public class ConferenceTopic extends YthBaseEntity implements Serializable {

	private static final long serialVersionUID = 1L;

	@ApiModelProperty(value = "租户ID")
	private String tenantId;

	@ApiModelProperty(value = "议题编码")
	private String number;

	@ApiModelProperty(value = "议题名称")
	private String name;

	@ApiModelProperty(value = "申报会议（1：党委（党组）会，2：经理层办公会，3：董事会，4：股东会，5：其他）")
	private Integer meetingType;

	@ApiModelProperty(value = "汇报人ID")
	private Long reporterId;

	@ApiModelProperty(value = "汇报人名称")
	private String reporterName;

	@ApiModelProperty(value = "议题材料ids")
	private String fileAttachIds;

	@ApiModelProperty(value = " 听取意见材料ids")
	private String suggestionAttachIds;

	@ApiModelProperty(value = "备注")
	private String remark;

	@ApiModelProperty(value = "会议ID")
	private Long meetingId;

	@ApiModelProperty(value = "填报日期")
	private Date reportTime;

	@ApiModelProperty(value = "填报组织id")
	private Long reportOrgId;

	@ApiModelProperty(value = "填报人员id")
	private Long reportUserId;

	@ApiModelProperty(value = "议题类型")
	private Integer topicType;

	@ApiModelProperty(value = "发起的流程实例id")
	private String processInstanceId;

	public ConferenceTopic(Long id, Long meetingId) {
		this.setId(id);
		this.meetingId = meetingId;
	}
}
